package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @interfaceName: NursingProjectMapper
 * @description:
 * @author: ChenXu
 * @date: 2024/5/26 14:17
 * @Version: 1.0
 */
@Mapper
public interface NursingProjectMapper {
    Page<NursingProjectVo> selectByPage(String name, Integer status);

    void save(NursingProjectVo nursingProject);

    NursingProjectVo findById(Long id);

    void update(NursingProjectVo bean);

    void deleteByIdBed(Long id);

    void updateBySta(Long id, Integer status);

    List<NursingProject> selectAll();
}
